GET api/clients/bulk?clientIds[0]={clientIds[0]}&clientIds[1]={clientIds[1]}&clientCodes[0]={clientCodes[0]}&clientCodes[1]={clientCodes[1]}
Gets basic information about a collection of clients in bulk by querying the parastransit database directly. *DEPRECATED* This call has been deprecated. Please use the bulk client POST request instead.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
clientIds |
The client Ids to search for. Will be used as the search parameter if provided. |
Collection of integer |
None. |
clientCodes |
The client codes to search for. Will be used as the search parameter if clientIds are not provided. |
Collection of string |
None. |
Body Parameters
None.
Response Information
Resource Description
Returns basic details about a collection of clients.
Collection of BulkClientInfoName | Description | Type | Additional information |
---|---|---|---|
Id |
The client Id. |
integer |
None. |
Code |
The client code. |
string |
None. |
FirstName |
The client's first name. |
string |
None. |
LastName |
The client's last name. |
string |
None. |
BirthDate |
The client's birth date. |
date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "code": "sample string 2", "firstName": "sample string 3", "lastName": "sample string 4", "birthDate": "2024-12-23" }, { "id": 1, "code": "sample string 2", "firstName": "sample string 3", "lastName": "sample string 4", "birthDate": "2024-12-23" } ]
application/xml, text/xml
Sample:
<ArrayOfBulkClientInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources"> <BulkClientInfo> <BirthDate>2024-12-23T12:11:42.6758433-07:00</BirthDate> <Code>sample string 2</Code> <FirstName>sample string 3</FirstName> <Id>1</Id> <LastName>sample string 4</LastName> </BulkClientInfo> <BulkClientInfo> <BirthDate>2024-12-23T12:11:42.6758433-07:00</BirthDate> <Code>sample string 2</Code> <FirstName>sample string 3</FirstName> <Id>1</Id> <LastName>sample string 4</LastName> </BulkClientInfo> </ArrayOfBulkClientInfo>